﻿using System.ComponentModel.DataAnnotations;

namespace Gengens.Disk.WebApi.dto.input.user
{
    public class UserForLoginDto
    {
        [Required(ErrorMessage = "用户名不可为空")]
        public string Username { get; set; }

        [Required(ErrorMessage = "密码不可为空")]
        public string Password { get; set; }
    }
}
